vue |
您所在的位置:网站首页 › qrcode vue › vue |
VueQrcode
🤳 A Vue component for QR code generation with qrcode TOC Demo Usage Available Props Available Events Sponsors Backers Changelog License Demo Usage import VueQrcode from 'vue-qrcode' export default { data() { return { dataUrl: null, } }, components: { VueQrcode, }, methods: { onDataUrlChange(dataUrl) { this.dataUrl = dataUrl }, }, } Available Props prop type (range) default value version number (1-40) N/A errorCorrectionLevel String ('low', 'medium', 'quartile', 'high', 'L', 'M', 'Q', 'H') 'M' maskPattern number (0-7) N/A toSJISFunc Function N/A margin number 4 scale number 4 width number N/A color { dark: string; light:string } { dark: '#000000ff', light: '#ffffffff' } type string ('image/png', 'image/jpeg', 'image/webp') 'image/png' quality number(0-1) 0.92 value string |Array N/A Available Events event type change dataUrl: string Sponsors 1stG RxTS UnTS Backers 1stG RxTS UnTS ChangelogDetailed changes for each release are documented in CHANGELOG.md. LicenseMIT © [email protected] |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |